package com.xcity.pomelo.push.msg;

import com.xcity.game.achievement.AchievementGroup;
import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.AbstractMessagePush;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_MESSAGE)
public class AchievementFinishedPush extends AbstractMessagePush {

	private int achieveId; // !!! 成就类型 !!!
//	private String achieveName;
	
	public AchievementFinishedPush(AchievementGroup group/*, String achieveName*/) {
		super(MSG_ACHIEVE_FINISHED);
		this.achieveId = group.ordinal();
//		this.achieveName = achieveName;
	}

	public int getAchieveId() {
		return achieveId;
	}

	public void setAchieveId(int achieveId) {
		this.achieveId = achieveId;
	}

//	public String getAchieveName() {
//		return achieveName;
//	}
//
//	public void setAchieveName(String achieveName) {
//		this.achieveName = achieveName;
//	}

}
